From 5b0a145975f7994657440d81050b8451cd923697 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Fri, 5 Oct 2018 18:07:18 +0100 Subject: [PATCH] debian/rules: Copy config.{sub,guess} by hand Signed-off-by: Ian Jackson --- debian/rules | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/debian/rules b/debian/rules index 6fb08381e1..f68f8150a5 100755 --- a/debian/rules +++ b/debian/rules @@ -148,11 +148,17 @@ override_dh_auto_clean: rm -f debian/xen-tools-built.stamp $(MAKE) -j1 distclean +# To avoid that the build dirties the tree, our delta queue deletes +# config.sub and config.guess. dh_update_autotools_config can get +# us fresh ones for each build, but it expects to find some there +# already with some weird properties. Instead, just copy them +# from /usr/share/misc (which is where it gets them anyway) +override_dh_update_autotools_config: + cp /usr/share/misc/{config.sub,config.guess} . + # Upstream has both a kconfig style configure for the hypervisor # and autoconfery for the tools (what we call the `utils'). override_dh_auto_configure: - dh_update_autotools_config - : cp debian/xen-kconfig xen/.config make -C xen olddefconfig $(make_args_xen) : -- 2.30.2